Matthias Clasen [Sat, 5 Aug 2017 23:31:52 +0000 (19:31 -0400)]
Enough with the beeping!
Don't beep when modifiers are released in entries.
This was an inadvertent change that snuck in with
the emoji support.
Also, don't beep while entering an emoji name.
There is entirely too much beeping here.
Matthias Clasen [Sat, 5 Aug 2017 22:17:29 +0000 (18:17 -0400)]
Use the right gettext domain
Most of our .ui files were still using the gtk30 domain,
despite the library having switched to gtk40. Fix this.
Daniel Boles [Sat, 5 Aug 2017 19:21:28 +0000 (20:21 +0100)]
AccelLabel: Fix displaying accel unichars >= 0x80
In GTK+ 2, the ch < 0x80 was ORd with klass->latin1_to_char, and that
was unconditionally set to TRUE in the class init function, so
effectively the ch < 0x80 never mattered before or served any purpose.
When klass->latin1_to_char was deleted from the class in commit
f760538f17673c5bd7fec792be2f1abf8148fc32, this check’s sense changed.
The resuls was that accel keyvals with gunichar value >= 0x80 stopped
being rendered as symbols, instead falling back to their keysym name.
Instead of recognisable symbols for these, we get raw, often obscure,
and untranslatable keysym names. This breaks accessibility as well as
client users who may be parsing such accels and migrating from GTK+ 2.
So, remove the < 0x80 to restore the behaviour from before said commit.
https://bugzilla.gnome.org/show_bug.cgi?id=783906
Daniel Boles [Sat, 5 Aug 2017 17:57:08 +0000 (18:57 +0100)]
CenterBox: minor tweaks to doc blurb
Daniel Boles [Sat, 5 Aug 2017 17:56:01 +0000 (18:56 +0100)]
CenterBox: Add missing nullable annotations
https://bugzilla.gnome.org/show_bug.cgi?id=785280
Daniel Boles [Sat, 5 Aug 2017 17:44:02 +0000 (18:44 +0100)]
CenterBox: Guard against directly including header
https://bugzilla.gnome.org/show_bug.cgi?id=785280
Kjell Ahlstedt [Sat, 5 Aug 2017 09:26:42 +0000 (11:26 +0200)]
centerbox: Add G_BEGIN_DECLS and G_END_DECLS
https://bugzilla.gnome.org/show_bug.cgi?id=785280
Matthias Clasen [Fri, 4 Aug 2017 04:54:15 +0000 (00:54 -0400)]
Add support for entering emoji by name
This commit adds some basic support for entering emoji by name
to GtkIMContextSimple. To begin an emoji sequence, use Ctrl-Shift-e
instead of Ctrl-Shift-u that is used for hex input. Otherwise, the
behavior is the same: you can can let go of the modifier keys and
end the sequence with space or enter, or hold on to the modifier
keys and end the sequence by releasing them.
Only a limited, fixed set of names is supported at this time, see
the GtkIMContextSimple docs for a full list.
Daniel Boles [Thu, 3 Aug 2017 23:18:13 +0000 (00:18 +0100)]
gskrendernodeimpl: Fix leak of cairo_pattern_t
It was not destroyed after setting it on the cairo_context_t, as it is
in every other case.
https://bugzilla.gnome.org/show_bug.cgi?id=785793
Daniel Boles [Thu, 3 Aug 2017 20:09:25 +0000 (21:09 +0100)]
Window: Also quote Window address in Popover error
This is symmetrical with how we already do that for the Popover, and it
could be useful for debugging.
Daniel Boles [Thu, 3 Aug 2017 19:42:54 +0000 (20:42 +0100)]
widget-factory: Add tooltip to Entry icon
just to show we can.
Daniel Boles [Thu, 3 Aug 2017 19:26:18 +0000 (20:26 +0100)]
Fix some nullable Returns annotations
based on reports and patches by Iñaki García Etxebarria:
https://bugzilla.gnome.org/show_bug.cgi?id=781246
https://bugzilla.gnome.org/show_bug.cgi?id=785423
Timm Bäder [Thu, 3 Aug 2017 16:24:42 +0000 (18:24 +0200)]
inspector: Fix object title label alignment
Re-center it after the center-child removal in GtkBox and the addition
of GtkCenterBox.
Daniel Boles [Thu, 3 Aug 2017 11:42:20 +0000 (12:42 +0100)]
GtkFixed: Update documentation intro
• Add GtkLayout as a @See_also since it includes fixed-pos functionality
• Drop mention of the long-gone Linux framebuffer port
• Explain how to work around the problems with RTL text
Marek Cernocky [Thu, 3 Aug 2017 09:51:09 +0000 (11:51 +0200)]
Updated Czech translation
Daniel Boles [Thu, 3 Aug 2017 09:13:52 +0000 (10:13 +0100)]
Layout: Tweak documentation blurb
Being addable to a ScrolledWindow is not interesting; now that SW
auto-adds a Viewport if needed, so can DrawingArea and any other widget.
Mention GtkFixed in case the reader just wants that bit of functionality
Timm Bäder [Thu, 3 Aug 2017 09:14:53 +0000 (11:14 +0200)]
entry: get_icon_area returns in entry coordinates
This fixes the popover positions in the gtk4-demo/popovers, and it also
just makes sense. Also document what the returned coordinates are
relatiev to.
Timm Bäder [Thu, 3 Aug 2017 09:03:39 +0000 (11:03 +0200)]
popover: Fix arrow position
Remove all the manual css margin handling since that's being done for us
automatically now.
Piotr Drąg [Wed, 2 Aug 2017 16:05:30 +0000 (18:05 +0200)]
Update POTFILES.in
Benjamin Otte [Wed, 2 Aug 2017 15:59:09 +0000 (16:59 +0100)]
eventbox: Remove
Benjamin Otte [Wed, 2 Aug 2017 15:58:47 +0000 (16:58 +0100)]
texthandle: Don't use GtkEventBox
Benjamin Otte [Wed, 2 Aug 2017 15:58:17 +0000 (16:58 +0100)]
testsuite: Don't use GtkEventBox in gestures test
Benjamin Otte [Wed, 2 Aug 2017 15:58:05 +0000 (16:58 +0100)]
a11y: Remove check for GtkEventBox
Benjamin Otte [Wed, 2 Aug 2017 15:55:25 +0000 (16:55 +0100)]
docs: Don't use GtkEventBox
Benjamin Otte [Wed, 2 Aug 2017 15:47:39 +0000 (16:47 +0100)]
testsuite: Remove GtkEventBox from a11y test
Benjamin Otte [Wed, 2 Aug 2017 13:50:19 +0000 (14:50 +0100)]
iconbrowser: Remove GtkEventBox usage
Benjamin Otte [Wed, 2 Aug 2017 12:59:26 +0000 (13:59 +0100)]
gtk-demo: Get rid of GtkEventBox
Benjamin Otte [Wed, 2 Aug 2017 12:49:36 +0000 (13:49 +0100)]
cellaccel: Get rid of GtkEventBox
Can't test the code atm because treeview editing is broken, let's hope
it works once that's fixed.
Benjamin Otte [Wed, 2 Aug 2017 12:12:17 +0000 (13:12 +0100)]
placessidebar: Remove EventBox usage
Benjamin Otte [Wed, 2 Aug 2017 11:12:58 +0000 (12:12 +0100)]
placesview: Remove event box usage
Emmanuele Bassi [Wed, 2 Aug 2017 11:31:30 +0000 (12:31 +0100)]
meson: Add missing Wayland protocol
GDK depends on a new Wayland protocol.
Olivier Fourdan [Wed, 22 Mar 2017 09:21:02 +0000 (10:21 +0100)]
wayland: add shortcut inhibitor support
This adds support for the shortcut inhibitor protocol in gdk/wayland
backend.
A shortcut inhibitor request is issued from the gdk wayland backend for
both the older, deprecated API gdk_device_grab() and the new gdk seat
API gdk_seat_grab(), but only if the requested capability is for the
keyboard only.
https://bugzilla.gnome.org/show_bug.cgi?id=783343
Benjamin Otte [Wed, 2 Aug 2017 10:32:50 +0000 (11:32 +0100)]
reftests: Always wait for rendering to settle
We wait for a few 100ms for rendering to settle in various WMs. So far
we only did that for windows that were controlled by the WM (aka
toplevels).
With modern compositing gnome-shell however, this now also applies to
override-redirect windows, so we now wait there, too.
This makes the reftests a lot slower, but they now actually work when
running make check in gnome-shell.
Benjamin Otte [Wed, 2 Aug 2017 09:52:30 +0000 (10:52 +0100)]
reftests: Remove event box usage
Benjamin Otte [Wed, 2 Aug 2017 09:48:01 +0000 (10:48 +0100)]
testuite: Remove EventBox from builder test
Matej Urbančič [Wed, 2 Aug 2017 08:42:45 +0000 (10:42 +0200)]
Updated Slovenian translation
Timm Bäder [Tue, 1 Aug 2017 19:31:24 +0000 (21:31 +0200)]
widget: Constify state parameter of propagate_state
Makes sense.
Timm Bäder [Tue, 1 Aug 2017 19:30:20 +0000 (21:30 +0200)]
widget: Don't try to propagate 0 state flags
This happens quite often and has no effect anyway.
Timm Bäder [Tue, 1 Aug 2017 17:39:32 +0000 (19:39 +0200)]
widget: Fix size_allocate's out_clip annotation
Benjamin Otte [Tue, 1 Aug 2017 23:23:43 +0000 (00:23 +0100)]
testgtk: Actually expand the scrolled window
Benjamin Otte [Tue, 1 Aug 2017 23:20:53 +0000 (00:20 +0100)]
testgtk: Get rid of GtkEventBox
Benjamin Otte [Tue, 1 Aug 2017 22:49:42 +0000 (23:49 +0100)]
tests: Get rid of GtkEventBox
Daniel Boles [Tue, 1 Aug 2017 19:41:23 +0000 (20:41 +0100)]
bindings: Avoid iterating array if it is never set
If query.return_type is not one we want, binding_compose_params() is
not called, and so params remains a NULL pointer. However, the code was
then unconditionally iterating it regardless. Don't if it is still NULL.
CID
1452218 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)
15. var_deref_op: Dereferencing null pointer params.
Daniel Boles [Tue, 1 Aug 2017 18:57:51 +0000 (19:57 +0100)]
cssselector: Ensure we do not index out of bounds
This would only happen if the last element was deprecated, but it should
be avoided anyway.
CID
1388852 (#1 of 1): Out-of-bounds read (OVERRUN)
12. overrun-local: Overrunning array pseudo_classes of 16 32-byte
elements at element index 16 (byte offset 512) using index i + 1U (which
evaluates to 16).
Daniel Boles [Tue, 1 Aug 2017 18:45:57 +0000 (19:45 +0100)]
Notebook: Remove null check after dereference
This function clearly assumes the parameter children cannot be NULL, and
the call sites seem to perform enough checks to confirm this.
CID
1388869 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking children suggests that it may be null,
but it has already been dereferenced on all paths leading to the check.
Daniel Boles [Tue, 1 Aug 2017 18:42:17 +0000 (19:42 +0100)]
Calendar: Add default case to appease Coverity
CID
1432024 (#1 of 1): Uninitialized scalar variable (UNINIT)
2. uninit_use_in_call: Using uninitialized value rect.x when calling
calendar_arrow_rectangle.
Add a default case to the switch which will bail out with
g_assert_not_reached(), which should reassure Coverity that the method
is always called with a valid value that is handled in the switch.
Daniel Boles [Tue, 1 Aug 2017 18:31:20 +0000 (19:31 +0100)]
cssbordervalue: Fix possible use of uninitialised
If value->values[i] is NULL, then values[i] was left uninitialised.
The code then reads each element of values[].
CID
1432029 (#1 of 1): Uninitialized pointer read (UNINIT)
11. uninit_use: Using uninitialized value values[i].
Daniel Boles [Tue, 1 Aug 2017 18:18:39 +0000 (19:18 +0100)]
Stack: Fix copy-paste error
This fixes Coverity CID
1452217.
Daniel Boles [Tue, 1 Aug 2017 09:09:01 +0000 (10:09 +0100)]
Entry: Fix unset icon tooltip hiding Entry tooltip
Our ::query-tooltip handler first checks whether the pointer is over any
of the icons, returning their tooltip if so, and if not chains up to
Widget::query-tooltip in order to show the text for the widget overall.
But ensure_has_tooltip(), which exists to update :has-tooltip based on
whether ::query-tooltip is needed, only set :has-tooltip to TRUE if any
icon had a tooltip, without caring whether the widget as a whole does.
That is asymmetrical and meant that if the Entry had a tooltip, but
subsequently all icons had their tooltips unset, :has-tooltip would be
set to FALSE, and hence the tooltip for the widget would become lost.
The fix is to set :has-tooltip to TRUE if the widget has a tooltip of
its own, and we only need to check the icons if that is not the case.
https://bugzilla.gnome.org/show_bug.cgi?id=785672
Daniel Boles [Tue, 1 Aug 2017 12:35:39 +0000 (13:35 +0100)]
Entry: Warn about corner case hiding icon tooltips
https://bugzilla.gnome.org/show_bug.cgi?id=785672#c4
Timm Bäder [Tue, 1 Aug 2017 16:43:42 +0000 (18:43 +0200)]
widget: Unset PRELIGHT and ACTIVE state in _set_sensitive
They both depend on input, which an insensitive widget does not receive.
Timm Bäder [Tue, 1 Aug 2017 16:16:40 +0000 (18:16 +0200)]
button: Stop fiddling with PRELIGHT state
This is done automatically now and it's wrong here since it gets
executed after gesture release.
Timm Bäder [Tue, 1 Aug 2017 09:34:23 +0000 (11:34 +0200)]
scale: Allocate the value next to the slider
... when vertical. Also fixes usage of the uninitialized value_alloc.y.
Chun-wei Fan [Tue, 1 Aug 2017 08:05:57 +0000 (16:05 +0800)]
Visual Studio builds: Adapt to new glib-mkenums
glib-mkenums is now done in Python, but since the Visual Studio build
environment (cmd.exe) does not support shebang lines, we need to call
the interpretor explicitly to run the script.
This means that we need to update on how we generate
gsk/gskenumtypes.[c|h] in our projects, as at this point GTK+-3.91.x
does not require a GLib installation that ships with the Python-fied
glib-mkenums. As a result, we adapt to this by first using Python
to call glib-mkenums. If this fails (where the output file becomes 0
in size), then we use PERL to call the glib-mkenums script. Note that
during the build this will cause a warning message to be displayed,
stating that '&' cannot be found, but due to the way Windows .bat script
are done, we need to live with that until a solution can be found on
this.
This is likely a problem that does not exist in the Meson builds, as
Meson will take care of calling the interpretor for us by looking at
the shebang lines for our case.
Also, clean up the .batin Windows batch script that is used to call
glib-mkenums by using a for loop in there.
Daniel Boles [Mon, 31 Jul 2017 18:33:38 +0000 (19:33 +0100)]
testentryicons: Set tooltips on all icons
Just to test tooltips in all cases; what was already here
should have been sufficient, but this doesn't hurt.
While here, also add some instructive placeholder text.
https://bugzilla.gnome.org/show_bug.cgi?id=780938
Chun-wei Fan [Mon, 31 Jul 2017 09:25:56 +0000 (17:25 +0800)]
MSVC builds: Allow different Python versions per toolset
Use conditionals to select the Python installation, so that we can stick
closer to the default Visual Studio versions used to compile each official
Python releases.
This means by default:
-2013 builds use Python 3.4.x, which is built with 2010
-2015 and 2017 builds use Python 3.6.x, which is built with 2015.
Also rename PythonPath/PythonPathX64 in the property sheets to
PythonDir/PythonDirX64 repsectively, as PythonPath is the envvar name
where additional Python modules is searched for, so we don't want to get
confused with it.
Last but not least, distinguish between the Python interpretors that are
used on x64 and x86/32-bit builds for generating the libgtk4.manifest
file and the gdbus-generated sources, for consistency reasons.
Daniel Boles [Sun, 30 Jul 2017 12:25:23 +0000 (13:25 +0100)]
entry: Remove unused/duplicate widget in IconInfo
Timm Bäder [Fri, 28 Jul 2017 19:28:32 +0000 (21:28 +0200)]
widget: Don't access highlight_resize in non-debug builds
The GtkWidgetPrivate struct only contains that member if G_ENABLE_DEBUG
is defined.
Timm Bäder [Thu, 27 Jul 2017 19:53:42 +0000 (21:53 +0200)]
eventbox: Remove visible-window property
The GdkWindow that was supposed to back it is gone.
Matej Urbančič [Thu, 27 Jul 2017 13:46:34 +0000 (15:46 +0200)]
Updated Slovenian translation
Matej Urbančič [Thu, 27 Jul 2017 13:46:22 +0000 (15:46 +0200)]
Updated Slovenian translation
Matej Urbančič [Thu, 27 Jul 2017 13:46:07 +0000 (15:46 +0200)]
Updated Slovenian translation
Carlos Garnacho [Tue, 25 Jul 2017 14:18:07 +0000 (16:18 +0200)]
gtklabel: Fix touch link handling under wayland
Refactor the code updating the active link under the current coordinates
into a separate function, and call it on GtkGestureMultiPress::pressed
so the link is updated on GDK_TOUCH_BEGIN. Based on a patch by
Jan-Michael Brummer <jan.brummer@tabos.org>.
https://bugzilla.gnome.org/show_bug.cgi?id=776903
Carlos Garnacho [Tue, 25 Jul 2017 13:46:01 +0000 (15:46 +0200)]
gtklinkbutton: Set cursor on button's event window
It is not necessary to (re)set the cursor on every crossing
event, and can probably yield the wrong results if there are
multiple master devices involved. Just set it on init(), and
let the inner machinery update the cursor whenever necessary.
This patch is an adaption of commit
0daf79676 in gtk-3-22, the
side effects are not as bad here because the cursor was already
being set on the widget specifically instead of the parent
widget's, but there's still some nonetheless (plus, it's simpler)
https://bugzilla.gnome.org/show_bug.cgi?id=785375
Carlos Garnacho [Tue, 25 Jul 2017 13:44:30 +0000 (15:44 +0200)]
wayland: Clear tablet tool cursor on proximity out
This ensures that the tablet tool will get the cursor updated even if it
happens to fall within the same window again on the next proximity in.
https://bugzilla.gnome.org/show_bug.cgi?id=785375
Carlos Garnacho [Tue, 25 Jul 2017 13:37:10 +0000 (15:37 +0200)]
gdkwindow: Update cursor for tablet tools in the window
This check must be done explicitly on Wayland as the master device for
tablet tools differ from the Core Pointer. This ensures that whenever a
tablet tool is inside a window and the cursor is programmatically changed,
it will be visually updated too.
https://bugzilla.gnome.org/show_bug.cgi?id=785375
Carlos Garnacho [Tue, 25 Jul 2017 13:35:41 +0000 (15:35 +0200)]
wayland: Observe GDK_SEAT_CAPABILITY_TABLET_STYLUS on gdk_seat_get_slaves()
This flag wasn't being honored so far...
Daniel Mustieles [Tue, 25 Jul 2017 18:16:59 +0000 (20:16 +0200)]
Updated Spanish translation
gogo [Tue, 25 Jul 2017 17:43:59 +0000 (17:43 +0000)]
Update Croatian translation
Kjell Ahlstedt [Mon, 24 Jul 2017 08:19:05 +0000 (10:19 +0200)]
actionbar: Call g_object_class_install_properties()
https://bugzilla.gnome.org/show_bug.cgi?id=785318
Matthias Clasen [Mon, 24 Jul 2017 17:24:33 +0000 (13:24 -0400)]
Avoid the use of g_autofree
We can't use this in code that may be built on win32,
so lets just not use it at all.
Timm Bäder [Sun, 23 Jul 2017 19:39:38 +0000 (21:39 +0200)]
widget: Stop invalidating recursively
A S Alam [Sun, 23 Jul 2017 14:59:04 +0000 (09:59 -0500)]
updated Punjabi Translation
Fabio Tomat [Sat, 22 Jul 2017 21:41:59 +0000 (21:41 +0000)]
Update Friulian translation
Timm Bäder [Sat, 22 Jul 2017 12:13:03 +0000 (14:13 +0200)]
notebook: Set tabs child visible before allocating a size
Otherwise we might skip them here, then set child-visible to TRUE and
then later snapshot them even though they have no valid size.
Timm Bäder [Sat, 22 Jul 2017 07:22:56 +0000 (09:22 +0200)]
cssstylechange: Fix change printing
Only print the old value once, above the new one.
Kukuh Syafaat [Sat, 22 Jul 2017 05:15:36 +0000 (05:15 +0000)]
Update Indonesian translation
Timm Bäder [Sat, 22 Jul 2017 04:52:08 +0000 (06:52 +0200)]
flowbox: Fix get_child_at_pos
Timm Bäder [Sat, 22 Jul 2017 04:51:19 +0000 (06:51 +0200)]
testflowbox: hexpand the flowbox
Chun-wei Fan [Fri, 21 Jul 2017 08:00:44 +0000 (16:00 +0800)]
tests: Include system headers appropriately
Don't include unistd.h on Windows, and include the appropriate headers on
Windows as necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Chun-wei Fan [Fri, 21 Jul 2017 07:58:38 +0000 (15:58 +0800)]
tests/rendernode-create-tests.c: Don't use VLAs
Replace uses of VLAs (variable-length arrays) using g_newa(), since
Visual Studio builds will unlikely ever support VLAs (which became optional
in C11).
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Chun-wei Fan [Fri, 21 Jul 2017 07:53:53 +0000 (15:53 +0800)]
gtk/gtkprintoperation-win32.c: Don't call gtk_widget_set_allocation()
This function was removed recently.
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Jason Gerecke [Mon, 12 Jun 2017 22:41:51 +0000 (15:41 -0700)]
wayland: Implement support for tablet wheel scrolling
Adds support for creating scroll events from Wayland tablet wheel events.
Even though no Wacom tablet puck has a smooth-scrolling wheel, both event
types need to be generated to make the upper layers happy.
https://bugzilla.gnome.org/show_bug.cgi?id=783716
Carlos Garnacho [Thu, 20 Jul 2017 11:26:00 +0000 (13:26 +0200)]
wayland: Make function to create scroll event more generic
Add GdkWaylandPointerData and GdkDevice arguments so it can be
used across master devices.
https://bugzilla.gnome.org/show_bug.cgi?id=783716
Jason Gerecke [Fri, 23 Jun 2017 18:17:53 +0000 (11:17 -0700)]
wayland: Get implicit grab serial information from tablet devices
If a tablet device is used to perform actions like window moving or resizing,
GTK must provide the correct implicit grab serial number over Wayland to Mutter
in order for the action to succeed. This commit adds tablet support to the
implicit serial getters.
https://bugzilla.gnome.org/show_bug.cgi?id=777333
Timm Bäder [Thu, 20 Jul 2017 10:41:12 +0000 (12:41 +0200)]
gdkgears: Add window content spacing back
This was lost when border-width was removed.
Timm Bäder [Thu, 20 Jul 2017 10:40:46 +0000 (12:40 +0200)]
overlay: Fix child widget allocation
Just adding the overlay's own position is wrong now.
Timm Bäder [Thu, 20 Jul 2017 10:33:57 +0000 (12:33 +0200)]
overlay: Keep the main child at the bottom
Since gtk_bin_add does a gtk_widget_set_parent call, we cannot use it in
a GtkBin implementation that has multiple child widgets and cares about
their order.
Matthias Clasen [Thu, 20 Jul 2017 03:09:02 +0000 (23:09 -0400)]
Move GdkWindowWindowClass to private headers
This enum is no longer used in public api.
Matthias Clasen [Thu, 20 Jul 2017 03:01:18 +0000 (23:01 -0400)]
Drop an unused typedef
GdkWindowRedirect is not used anywhere anymore.
Jonas Ådahl [Mon, 13 Mar 2017 06:42:38 +0000 (14:42 +0800)]
wayland: Throttle system bell requests
If a bad behaving application tries to make the window/display beep too
often, throttle the beep requests so that we don't end up filling the
Wayland socket queue.
The throttle is set to 50 beeps per second, which far more beeps than
will ever make any sense from a user experience point of view, but will
avoid terminating due to an excessive amount of requests.
https://bugzilla.gnome.org/show_bug.cgi?id=778188
Jonas Ådahl [Mon, 13 Mar 2017 06:33:06 +0000 (14:33 +0800)]
wayland: Make beep requests go through the GdkDisplay
This way we can add things like throttling.
https://bugzilla.gnome.org/show_bug.cgi?id=778188
Matthias Clasen [Thu, 20 Jul 2017 01:52:10 +0000 (21:52 -0400)]
Summarize changes so far
This is a high-level view of what was just merged.
Timm Bäder [Wed, 19 Jul 2017 12:07:30 +0000 (14:07 +0200)]
testgtk: Remove unused local variable
Timm Bäder [Wed, 19 Jul 2017 11:13:28 +0000 (13:13 +0200)]
GtkStyleContext: Create path node in _new
So we can avoid creating a GtkCssPathNode in _init and then throwing it
away right after when using the _new_with_node constructor, which is the
one we use for all widgets.
Timm Bäder [Wed, 19 Jul 2017 11:07:48 +0000 (13:07 +0200)]
GtkStyleContext: Remove property cache
It was only used for widget style properties which don't exist anymore.
Timm Bäder [Tue, 18 Jul 2017 12:13:05 +0000 (14:13 +0200)]
widget-factory: fix page 3 widget expand
The treeview/listbox on the left side should not expand.
Timm Bäder [Tue, 18 Jul 2017 10:36:35 +0000 (12:36 +0200)]
GdkWindow: Default to unfocused
Don't set the have_focused field of the window's toplevel to TRUE by
default and don't set the FOCUSED state in gdk_window_map. This a means
toplevel window's state is what the WM expects, and the FOCUSED state
will be set anyway when we map the window and receive a _NET_WM_STATE
message.
Timm Bäder [Mon, 17 Jul 2017 11:21:21 +0000 (13:21 +0200)]
statusbar: Inherit from GtkWidget
Timm Bäder [Sun, 16 Jul 2017 15:19:59 +0000 (17:19 +0200)]
modelmenuitem: Care about GtkAccelLabel in get_text